import NearLogic from '../logic/NearLogic';

export default class Logics{
    private static singleton: Logics;
    near:NearLogic;

    constructor(){
      this.near = new NearLogic(); 
    }

    public static get instance(): Logics{
        if(!this.singleton){
            this.singleton = new Logics();
        }
        return this.singleton;
    }
}